package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

/**
 * @author LiangTianQi
 * @describe
 * @date 2020/11/23 11:33
 */
public interface PermissionService {

    public PageInfo getByConditions(QueryPageBean queryPageBean);

    void add(Permission permission);

    void delete(Integer id);

    void update(Permission permission);

    Permission getById(Integer id);
}
